package com.gdcn.zb.sys.service;

import java.util.List;

import com.gdcn.zb.base.exception.ServiceException;
import com.gdcn.zb.sys.valueobject.Function;

public interface IFunctionService {
	void createFunction(Function function) throws ServiceException;

	void deleteFunction(String id)throws ServiceException;
	
	void deleteFunction(String[] ids)throws ServiceException;
	
	Function findFunctionById(String id)throws ServiceException;
	
	void updateFunction(Function function)throws ServiceException;
	
	List<Function> listFunctionOfAll()throws ServiceException;
}
